<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
<h1>用户登录</h1>
<form th:action="@{/user/login}" method="post">
    <label for="username">用户名：</label><br>
    <input type="text" name="username" placeholder="用户名"><br>
    <label for="password">密码：</label><br>
    <input type="password" name="password" placeholder="密码"><br>
    <input type="submit" value="登录">
</form>




</body>
</html>